Elastic\Elasticsearch\Endpoints\Security B

Total Complexity 78
Dependencies 5
Dependents 1
Total lines 2,166
Lines of code 665
Logical lines of code 375
Comment lines 1,268
Methods 60
Properties 0

Methods 60

Method Rating Maintainability Complexity Lines of code
getPrivileges()
S
56 4 17
getServiceAccounts()
S
56 4 17
hasPrivileges()
S
56 4 16
changePassword()
S
57 2 16
createServiceToken()
S
57 2 15
getRoleMapping()
S
58 2 14
getRole()
S
58 2 14
getUser()
S
58 2 14
hasPrivilegesUserProfile()
S
61 2 11
queryUser()
S
62 2 10
suggestUserProfiles()
S
62 2 10
queryApiKeys()
S
62 2 10
activateUserProfile()
S
61 1 11
oidcAuthenticate()
S
61 1 11
invalidateToken()
S
61 1 11
invalidateApiKey()
S
61 1 11
oidcPrepareAuthentication()
S
61 1 11
oidcLogout()
S
61 1 11
putUser()
S
61 1 11
putPrivileges()
S
61 1 11
putRole()
S
61 1 11
putRoleMapping()
S
61 1 11
samlAuthenticate()
S
61 1 11
samlCompleteLogout()
S
61 1 11
samlInvalidate()
S
61 1 11
samlLogout()
S
61 1 11
samlPrepareAuthentication()
S
61 1 11
samlServiceProviderMetadata()
S
61 1 11
updateApiKey()
S
61 1 11
updateCrossClusterApiKey()
S
61 1 11
updateSettings()
S
61 1 11
grantApiKey()
S
61 1 11
updateUserProfileData()
S
61 1 11
getToken()
S
61 1 11
bulkUpdateApiKeys()
S
61 1 11
createApiKey()
S
61 1 11
createCrossClusterApiKey()
S
61 1 11
getUserPrivileges()
S
64 1 9
deleteRoleMapping()
S
62 1 10
clearApiKeyCache()
S
62 1 10
clearCachedPrivileges()
S
62 1 10
clearCachedRealms()
S
62 1 10
clearCachedRoles()
S
62 1 10
clearCachedServiceTokens()
S
61 1 10
deletePrivileges()
S
62 1 10
deleteRole()
S
62 1 10
deleteUser()
S
62 1 10
deleteServiceToken()
S
61 1 10
getUserProfile()
S
62 1 10
disableUser()
S
62 1 10
disableUserProfile()
S
62 1 10
enableUser()
S
62 1 10
enableUserProfile()
S
62 1 10
enrollKibana()
S
62 1 10
enrollNode()
S
62 1 10
getApiKey()
S
63 1 9
getBuiltinPrivileges()
S
64 1 9
getServiceCredentials()
S
62 1 10
authenticate()
S
64 1 9
getSettings()
S
62 1 10